<div class="span9">
    <?php echo form_open_multipart('dosen/photo', 'class="bs-docs-example"') ?>
    <legend>Profil</legend>
    <div class="control-group">
        <div class="controls">
            <img class="img-rounded" src="{photo}" width="250" height="250"/>
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <input type="file" name="userfile"/>
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <button type="submit" class="btn btn-info">Update</button>
        </div>
    </div>
    <?php echo form_close() ?>
</div>